<?php 
header ( 'Content-Type:text/html; charset=utf8' );
$pdo = new PDO ( 'mysql:127.0.0.1;charset=utf8', 'root' );
$s = $pdo->prepare ( 'create database if not exists crm charset=utf8;
use crm;
create table username(
	id int primary key auto_increment,
	name varchar(15) not null unique,
	password varchar(15) not null,
	sf varchar(15) not null,
	tel varchar(15) not null,
	dizhi varchar(30)
)charset=utf8;
insert into username values
(1,"admin","admin","guanl","13000000000","??????"),
(2,"user","user","guanl","13111111111","??????"),
(3,"zhangsan","111111","keh","13222222222","???");
		' );
$isok = $s->execute ();
if($isok){
	echo 111;
}
